<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>数学家</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" type="text/css" href="../../css/note.css" />
</head>
<body>

<script src="../../js/note.js"></script>
<script src="../../js/table.js"></script>
<script>
var mathematician = [
  {name:'François Viète', cnname:'韦达', enname:'Vieta',
    nationality:'法国', birth:1540, decease:1603},
  {name:'Augustin-Louis Cauchy', cnname:'柯西', enname:'Cauchy',
    nationality:'法国', birth:1789, decease:1857},
  {name:'Georg Friedrich Bernhard Riemann', cnname:'黎曼',
    enname:'Riemann', nationality:'德国', birth:1826, decease:1866},
  {name:'Johann Carl Friedrich Gauss', cnname:'高斯',
    enname:'Gauss', nationality:'德国', birth:1777, decease:1855},
  {name:'Leonhard Euler', cnname:'欧拉', enname:'Euler',
    nationality:'瑞士', birth:1707, decease:1783},
  {name:'Gottfried Wilhelm Leibniz', cnname:'莱布尼茨', enname:'Leibniz',
    nationality:'德国', birth:1646, decease:1716},
  {name:'Issac Newton', cnname:'牛顿', enname:'Newton',
    nationality:'英国', birth:1642, decease:1726},
  {name:'René Descartes', cnname:'笛卡儿', enname:'Descartes',
    nationality:'法国', birth:1596, decease:1650},
  {name:'Thomas Bayes', cnname:'贝叶斯', enname:'Bayes',
    nationality:'英国', birth:1702, decease:1761},
  {name:'Joseph-Louis Lagrange', cnname:'拉格朗日', enname:'Lagrange',
    nationality:'法国', birth:1736, decease:1813},
  {name:'Vilfredo Federico Damaso Pareto', cnname:'帕累托',
    enname:'Pareto', nationality:'意大利', birth:1848, decease:1923},
  {name:'Brook Taylor', cnname:'泰勒', enname:'Taylor', nationality:'英国', birth:1685, decease:1731},
  {name:'Richard Dedekind', cnname:'戴德金', enname:'Dedekind', nationality:'德国', birth:1831, decease:1916},
  {name:'Peter Gustav Lejeune-Dirichlet', cnname:'狄利克雷', enname:'Dirichlet', nationality:'德国', birth:1805, decease:1859},
  {name: 'Adrien-Marie Legendre', cnname:'勒让德', enname:'Legendre', nationality:'法国', birth:1752, decease:1833},
  {name:'Henri Lebesgue', cnname:'勒贝格', enname:'Lebesgue', nationality:'法国', birth:1875, decease:1941},
  {name:'Euclid of Alexandria', cnname:'欧几里得', enname:'Euclid', nationality:'古希腊'},
  {name:'Archimedes', cnname:'阿基米德', enname:'Archimedes', nationality:'古希腊', birth:-287, decease: -212},
  {name:'Srīṉivāsa Rāmāṉujan Aiyaṅkār', cnname:'拉马努金', enname:'Ramanujan', nationality:'印度', birth:1887, decease:1920},
  {name:'Baron Jean Baptiste Joseph Fourier', cnname:'傅里叶', enname:'Fourier', nationality:'法国', birth:1768, decease:1830},
  {name:'Pierre de Fermat', cnname:'费马', enname:'Fermat', nationality:'法国', birth:1601, decease:1665},
  {name:'ПaфHутий Лbвович Чебышев', cnname:'切比雪夫', enname:'Chebyshev', nationality:'俄国', birth:1821, decease: 1894},
  {name:'Évariste Galois', cnname:'伽罗瓦', enname:'Galois', nationality: '法国', birth:1811, decease:1832},
  {name: 'Niels Henrik Abel', cnname:'阿贝尔', enname:'Abel', nationality: '挪威', birth:1802, decease:1829 },
  {name: 'Jacques Solomon Hadamard', cnname:'阿达马', enname:'Hadamard', nationality: '法国', birth:1865, decease:1963},
  {name: 'David Hilbert', cnname:'希尔伯特', enname:'Hilbert', nationality:'德国', birth:1862, decease:1943},
  {name: 'Hermann Amandus Schwartz', cnname:'施瓦茨', enname:'Schwartz', nationality:'德国', birth:1843, decease:1921},
  {name: 'Claudius Ptolemaeus', enname: 'Ptolemy', cnname: '托勒密', nationality: '埃及', birth:100, decease:170},
  {name:'陈景润', enname:'', cnname:'陈景润', nationality:'中国', birth:1933, decease:1996},
  {name:'华罗庚', enname:'', cnname:'华罗庚', nationality:'中国', birth:1910, decease:1985},
  {name:'陈省身', enname:'', cnname:'陈省身', nationality:'中国', birth:1911, decease:2004},
  {name:'Ernst Eduard Kummer', enname:'Kummer', cnname:'库默尔', nationality:'德国', birth:1810, decease:1893},
  {name:'Emmy Noether', enname:'Noether', cnname:'诺特', nationality:'德国', birth:1882, decease:1935},
  {name:'Camille Jordan', enname:'Jordan', cnname:'若尔当', nationality:'法国', birth:1838, decease: 1922},
  {name:'Ferdinand Georg Frobenius', enname:'Frobenius', cnname:'弗罗贝尼乌斯', nationality:'德国', birth:1849, decease:1917},
  {name:'Colin Maclaurin', enname:'Maclaurin', cnname:'麦克劳林', nationality:'英国', birth:1698, decease:1746},
  {name:'Giuseppe Peano', enname:'Peano', cnname:'皮亚诺', nationality:'意大利', birth:1858, decease:1932},
  {name:'Alexander Grothendieck', enname: 'Grothendieck', cnname:'格罗滕迪克', nationality:'无', birth:1928, decease:2014},
  {name:'Karl Theodor Wilhelm Weierstrass', enname:'Weierstrass', cnname:'魏尔斯特拉斯', nationality:'德国', birth:1815, decease:1897},
  {name:'Simeon-Denis Poisson', enname:'Poisson', cnname:'泊松', nationality:'法国', birth:1781, decease:1840},
  {name:'Pierre-Simon Laplace', enname:'Laplace', cnname:'拉普拉斯', nationality:'法国', birth:1749, decease:1827},
  {name:'Jacob Bernoulli', enname:'Jacob', cnname:'雅各布・伯努利', nationality:'瑞士', birth:1654, decease:1705},
  {name:'Nicolaus I Bernoulli', enname:'Nicolaus', cnname:'小尼古拉・伯努利', nationality:'瑞士', birth:1662, decease:1716},
  {name:'Johann Bernoulli', enname: 'Johann', cnname:'约翰・伯努利', nationality:'瑞士', birth:1667, decease:1748},
];

function getYear(y) {
  if (y === undefined) return '??'
  if (y < 0) return '前' + (-y)
  return y
}

Table.create({
  parent: document.body,
  data: mathematician,
  columns: [
    'cnname', 'enname', 'nationality',
    function() {
      return getYear(this.birth) + '-' + getYear(this.decease)
    },
    'name'
  ],
  heads: ['中文名', '英文名', '国籍', '生卒', '全名'],
  sortBy: 'birth',
});
</script>

</body>

</html>
